@DefineProject
	@Name 		= "MicroEMACS"
	@Version	= "4.0"
	@Subdir 	= "\\bin\\"
	@OutDrive 	= C
	@Requires	@HardDisk
@EndProject
@DefineVars
	@Integer	@MaxDisk  = 1
	@Qstring	@OpSys	  = "DOS"
	@Qstring	@DiskSz	  = "DSHD"
@EndVars

@Display
	@Cls
	@Name  
	Version @Version

	Programmer's Editor
	04/22/93
	Installation Program

  Copyright (c) 1988 - 1995 by Daniel M. Lawrence
  @Name @Version can be copied and distributed freely for any
  non-commercial purposes. Commercial users may use @Name @Version
  inhouse. Shareware distributors may redistribute @Name @Version
  for media costs only. @Name @Version can only be incorporated into
  commercial software or resold with written permission from the author.

	This program will install @Name Version @Version
	on your IBM-PC compatible computer system.

	This version is intended for authorized BETA testers only!

	@Pause
@EndDisplay

@GetGroups
	@CheckBox
	@SetGroup(D)
	@CLS
	Install @Name for which operating systems:









	Use the [UP ARROW] and [DOWN ARROW] keys to move the selection
	bar. Press [SPACE] to change the current selection. Press [ENTER]
	to confirm your selections and continue.

	@set D = "MSDOS - Real Mode"
	@set M = "MSDOS - Protected Mode (w/DOS16M)"
	@set O = "OS/2 1.3 or OS/2 2.0"
	@set W = "MicroSoft Windows version 3.1"

@EndGroups

@GetOutDrive
	@CLS
	Select the drive name where you wish to install @Name:



 
 










	@Suppress A
	@Suppress B

	Use the [Up Arrow], [Down Arrow] keys to move the bar;
	Press [Enter] to select a disk.
@EndOutDrive

@GetSubdir
	@CLS

        Enter the name of the directory where you wish to install
	@Name @Version. Remember, all the versions you choose to
	install will go into this directory. If you wish different
	versions to go into different directories, please hit [ESC]
	twice to abort out of this installation and run it once for
	each operating system.

        @PROMPT = " Press [Enter] to accept @Subdir "
@EndSubdir

@SetAutoexec
	@AskOverwrite
	@Path = "@OutDrive:@Subdir"
@EndAutoexec

/*
@SetConfig
	@AskOverwrite
	@Files = 40
	@Buffers = 15
@EndConfig
*/

@Display

	@if (@DiskFree @OutDrive < 500000)
	The drive you selected to install @Name has only
	@DiskFree @OutDrive bytes availible. @Name @Version
	requires 500K of disk space to install.
	@Pause
	@Abort
	@Endif
@EndDisplay

@DefineDisk
	@LABEL = "@Name Installation Disk"
	@BeginLib EMACS.RED
		@File BPAGE.CMD @Size 12363
		@File CPAGE.CMD @Size 8105
		@File CUA.CMD @Size 9921	@group W
		@File DEV.CMD @Size 3731	@group W
		@File DOSBOX.PIF @Size 545	@group W
		@File DOSEXEC.PIF @Size 545	@group W
		@File EHELP.CMD @Size 11147
		@File EHELP1.TXT @Size 41225
		@File EHELP2.TXT @Size 25199
		@File EMACS.EXE @Size 69730	@group D
		@File EMACS.PRN @Size 376686
		@File EMACS.RC @Size 6018
		@File EMACS16M.EXE @Size 193455	@group M
		@File EPAGE.CMD @Size 3606
		@File ERROR.CMD @Size 232
		@File FILTER.CMD @Size 1737
		@File LPAGE.CMD @Size 5126
		@File MDI.CMD @Size 4044	@group W
		@File MEWIN.CMD @Size 3050	@group W
		@File MEWIN.EXE @Size 445188	@group W
		@File MEWIN.HLP @Size 210214	@group W
		@File NEWPAGE.CMD @Size 3018
		@File OPAGE.CMD @Size 5904
		@File OS2EMACS.EXE @Size 142923	@group O
		@File PPAGE.CMD @Size 8294
		@File README @Size 15044
		@File SHELL.CMD @Size 2351
		@File WPAGE.CMD @Size 4222
	@EndLib
@EndDisk
 
@Finish
	@Cls
	@ChDrive @OutDrive
	@ChDir "@Subdir"

	@Name @Version is now installed on your system. Read the README
	file for current release and support information. A copy of the
	@Name reference manual suitable for being printed to a
	PostScript printer is in the file EMACS.PRN. You will need to
	reboot your computer to add @Subdir to your path if you
	allowed the installation to add this to your AUTOEXEC.BAT file.

	@pause
@EndFinish
